// 储存的 key 设置为变量
const TOKEN_KEY = 'hm-vant-h5-token'

// 按需导出
// 获取token
export const getToken = () => localStorage.getItem(TOKEN_KEY)

// 设置token
export const setToken = (token) => localStorage.setItem(TOKEN_KEY, token)

// 删除token
export const delToken = () => localStorage.removeItem(TOKEN_KEY)
